package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 活动表 huodong
 * 
 * @author chengenjiang
 * @date 2019-08-09
 */
public class Huodong extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 活动Id */
	@Excel(name = "活动Id")
	private Integer huoDongId;
	/** 车友会长Id */
	private Integer huiZhangId;
	/** 活动名称 */
	@Excel(name = "活动名称")
	private String name;
	/** 活动简介 */
	@Excel(name = "活动简介")
	private String jianjie;
	/** 活动时间 */
	@Excel(name = "活动时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date huoDongTime;
	/** 报名人数 */
	@Excel(name = "报名人数")
	private Integer number;
	/** 报名截止时间 */
	@Excel(name = "报名截止时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date endTime;
	/** 活动内容介绍 */
	@Excel(name = "活动内容介绍")
	private String neirong;
	/** 状态 */
	@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
	private String status;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	private String attribute;
	/**车友会会长*/
	private SysUser sysUser;

	public void setHuoDongId(Integer huoDongId) 
	{
		this.huoDongId = huoDongId;
	}

	public Integer getHuoDongId() 
	{
		return huoDongId;
	}
	public void setHuiZhangId(Integer huiZhangId) 
	{
		this.huiZhangId = huiZhangId;
	}

	public Integer getHuiZhangId() 
	{
		return huiZhangId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setJianjie(String jianjie) 
	{
		this.jianjie = jianjie;
	}

	public String getJianjie() 
	{
		return jianjie;
	}
	public void setHuoDongTime(Date huoDongTime) 
	{
		this.huoDongTime = huoDongTime;
	}

	public Date getHuoDongTime() 
	{
		return huoDongTime;
	}
	public void setNumber(Integer number) 
	{
		this.number = number;
	}

	public Integer getNumber() 
	{
		return number;
	}
	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}
	public void setNeirong(String neirong) 
	{
		this.neirong = neirong;
	}

	public String getNeirong() 
	{
		return neirong;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("huoDongId", getHuoDongId())
            .append("huiZhangId", getHuiZhangId())
            .append("name", getName())
            .append("jianjie", getJianjie())
            .append("huoDongTime", getHuoDongTime())
            .append("number", getNumber())
            .append("endTime", getEndTime())
            .append("neirong", getNeirong())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }

	public SysUser getSysUser() {
		return sysUser;
	}

	public void setSysUser(SysUser sysUser) {
		this.sysUser = sysUser;
	}
}
